﻿using Forum.Model.Entity;
using Forum.Model.Pager;
using Forum.Model.QueryFilters;
using Forum.Model.Request;
using Forum.Model.Response;

namespace Forum.Service.Interface
{
    public interface IBasicService
    {
        Site GetSiteInfo();
        Task<bool> UpdateSiteInfo(Site site);
        List<Social> GetSocialList();
        List<Link> GetLinkList();
        ApiResponse AddLink(LinkReq req);
        IPagedList<Link> GetLinkPagedList(QueryParameters param);
        bool UpdateLink(string id,bool visible);
        bool DeleteLink(string id);
        IPagedList<SysParameters> GetParamPagedList(QueryParameters param);
        SysParameters GetByParamId(string id);
        bool DeleteParam(string id);
        bool AddParam(ParamsReq req);
        bool UpdateParam(SysParameters req);

    }
}
